package com.moorwind.chartservice.utils
{
	public class ChartConfig
	{
		public var CHART_INDEX:String = "http://gamechartservice.appspot.com/";
		public var CHART_TOKEN:String = "http://gamechartservice.appspot.com/token_service.py";
		public var CHART_GET_CHART:String = "http://gamechartservice.appspot.com/chart_service.py";
		public var CHART_SAVE_CHART:String = "http://gamechartservice.appspot.com/chart_service.py";
		
		
		private static var _instance:ChartConfig;
		
		public function ChartConfig(access:Privace)
		{
			if(!access) throw new Error("Single-ton error");
			if(!_instance) _instance = this;
		}
		
		public static function get instance():ChartConfig
		{
			if(!_instance) _instance = new ChartConfig(new Privace);
			return _instance;
		}

	}
}
class Privace{}